package com.ruoyi.customerService.service.impl;

import com.ruoyi.customerService.domain.CsClaimType;
import com.ruoyi.customerService.mapper.CsClaimTypeMapper;
import com.ruoyi.customerService.service.CsClaimTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CsClaimTypeServiceImpl implements CsClaimTypeService {
    @Autowired
    private CsClaimTypeMapper csClaimTypeMapper;
    @Override
    public List<CsClaimType> selectByOneLevel() {
        return csClaimTypeMapper.selectByOneLevel();
    }

    @Override
    public List<CsClaimType> selectByTwoLevel() {
        return csClaimTypeMapper.selectByTwoLevel();
    }

    @Override
    public List<CsClaimType> selectByParentId(Integer parentId) {
        return csClaimTypeMapper.selectByParentId(parentId);
    }
}
